import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Microsoft
 * Date: 2023-01-11
 * Time: 11:57
 */
public class Test {
    public static int func(){
        try {
            int a = 10;
            return a;
        }catch (NullPointerException a){

        }finally {
            return 9;
        }
    }
    public static void main(String[] args) {
        System.out.println(func());
    }
}

